package snowflake

import (
	"github.com/bwmarrin/snowflake"
)

var Snowflake *snowflake.Node

func init() {
	Snowflake, _ = snowflake.NewNode(1)
}

func GetIdString() string {
	return Snowflake.Generate().String()
}

func GetIdInt64() int64 {
	return Snowflake.Generate().Int64()
}
